package com.zeyi.chat.controller;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.stage.Stage;

/**
 * @author zeyi
 */
public class AlertController {

    @FXML
    private Button confirmBtn;

    @FXML
    public void confirm(ActionEvent actionEvent) {
        Stage stage = (Stage) confirmBtn.getScene().getWindow();
        stage.close();
    }
}
